package com.manage.pojo.entity.electronicFile;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Schema(description = "案件信息")
@Data
public class CaseInfo {
    @Schema(description = "案件批次")
    private long caseBatchId;

    @Schema(description = "委托日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entrustDate;

    @Schema(description = "债务人")
    private String debtorName;

    @Schema(description = "贷款编号")
    private String loanNo;

    @Schema(description = "贷款种类")
    private String loanType;

    @Schema(description = "委案本金")
    private BigDecimal principalAmount;

    @Schema(description = "贷款到期日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date loanDueDate;

    @Schema(description = "负责律师")
    private String principalName;

    @Schema(description = "主办律师")
    private String sponsorName;

    @Schema(description = "承接律师")
    private String granteeName;

    @Schema(description = "经办人")
    private String operatorName;

    @Schema(description = "案件阶段")
    private String caseStage;

    @Schema(description = "案件节点")
    private String caseNode;

    @Schema(description = "案件最新文书")
    private String latestDocument;

    @Schema(description = "案件预警状态")
    private Integer warningStatus;

    @Schema(description = "诉讼时效")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date limitationPeriod;

    @Schema(description = "案件节点截止日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nodeDeadline;

    @Schema(description = "合同名称")
    private String contractName;

    @Schema(description = "保证金结算状态")
    private Integer depositSettlementStatus;

    @Schema(description = "委案律师费")
    private BigDecimal basicAttorneyFee;

    @Schema(description = "(到账)基础律师费")
    private BigDecimal basicAttorneyFee2;

    @Schema(description = "基础律师费到账日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date basicFeePaymentDate;

    @Schema(description = "(到账)风险律师费")
    private BigDecimal riskAttorneyFee;

    @Schema(description = "风险律师费到账日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date riskFeePaymentDate;

    @Schema(description = "保证金缴纳金额")
    private BigDecimal depositAmount;

    @Schema(description = "保证金缴纳日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date depositPaymentDate;

    @Schema(description = "保证金退回金额")
    private BigDecimal depositRefundAmount;

    @Schema(description = "保证金退回日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date depositRefundDate;

    @Schema(description = "违约金")
    private BigDecimal penaltyAmount;
}

